/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Jabatan;

/**
 *
 * @author Liem
 */
public class sales extends jabatan {
   private double bonus;
    
     public void tampilGaji(){
      super.tampilGaji();
      System.out.println("Gaji Tambahan   : " + bonus);
  } 

     public sales(){
      super("Sales");
      this.bonus = 0.2*super.getGajiPokok();
   }
}